const app = getApp()

Component({
 
  properties: {
    contestItem: Object
  },
  attached() {
    var timeEnd = app.formatDate(this.data.contestItem.timeEnd)
    console.log("========================")
    console.log(timeEnd)
    this.setData({
      ['contestItem.timeEnd']: timeEnd
    })
  },
  methods: {
    // 跳转到对应赛事
    tapTask: function() {
    
    }
  }
})
